<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping assembly="DataLayer" namespace="DataLayer.Entities" xmlns="urn:nhibernate-mapping-2.2">
  <class name="Evento" table="Evento" lazy="true" >
    <id name="Eventoid" column="EventoId">
      <generator class="identity" />
    </id>
    <one-to-one name="Usuario"/>
    <property name="Fecha"/>
    <property name="Estaabierto"/>
    <list name="EventopagoList" table="EventoPago" lazy="true">
      <key column="EventoId" />
      <index column="EventoPagoId"/>
      <one-to-many class="Eventopago" />
    </list>
  </class>
</hibernate-mapping>